package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xmy.cultivate.entity.MobileRolePermission;
import com.xmy.cultivate.mapper.MobileRolePermissionMapper;
import com.xmy.cultivate.service.IMobileRolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-06-26
 */
@Service
public class MobileRolePermissionServiceImpl extends ServiceImpl<MobileRolePermissionMapper, MobileRolePermission> implements IMobileRolePermissionService {
    @Autowired
    MobileRolePermissionMapper mobileRolePermissionMapper;


    @Override
    public List<Long> getRolePermissionByRoleId(String roleId) {
        return mobileRolePermissionMapper.getRolePermissionByRoleId(roleId);
    }
}
